<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
    <title>Rainbow for Firebug - javascript syntax highlighting</title>
    <%= stylesheet_link_tag "reset.css" %>
    <%= stylesheet_link_tag "firebug.css" %>
    <%= stylesheet_link_tag "rainbow.css" %>
<% if @page=='presets' %>
    <link type="text/css" rel="stylesheet" media="screen" href="presets/css">
<% end %>
    <%= javascript_include_tag "prototype", "effects" %>
    <script>
        // CSS Browser Selector   v0.2.5
        // Documentation:         http://rafael.adm.br/css_browser_selector
        // License:               http://creativecommons.org/licenses/by/2.5/
        // Author:                Rafael Lima (http://rafael.adm.br)
        // Contributors:          http://rafael.adm.br/css_browser_selector#contributors
        var css_browser_selector = function() {
            var ua=navigator.userAgent.toLowerCase(),
            is=function(t){ return ua.indexOf(t) != -1; },
            h=document.getElementsByTagName('html')[0],
            b=(!(/opera|webtv/i.test(ua))&&/msie (\d)/.test(ua))?('ie ie'+RegExp.$1):is('gecko/')? 'gecko':is('opera/9')?'opera opera9':/opera (\d)/.test(ua)?'opera opera'+RegExp.$1:is('konqueror')?'konqueror':is('applewebkit/')?'webkit safari':is('mozilla/')?'gecko':'',
            os=(is('x11')||is('linux'))?' linux':is('mac')?' mac':is('win')?' win':'';
            var c=b+os+' js';
            h.className += h.className?' '+c:c;
        }();
    </script>
  </head>

  <body id="<%=@page%>">
    <div id="doc">
      <div id="hd">
        <div class="box">
          <h1>Rainbow for Firebug</h1>
          <h2>Javascript syntax highlighting for firebug</h2>
          <div class="absolute">
            <a id="logo" href="/rainbow"><img src="/images/rainbow-logo.png" width="300" height="60" alt="Rainbow home" title="Rainbow for Firebug - javascript syntax highlighting for firebug"/></a>
          </div>
        </div>
      </div>
      <div id="bd">
        <div id="mid">
          <div class="box">
            <%= yield %>
          </div>
        </div>
      </div>
      <div id="ft"><div class="box"><p>&copy; 2008 <a href="http://xrefresh.com">xrefresh.com</a>, <a href="http://hildebrand.cz">Antonin Hildebrand</a>, <a href="http://creativecommons.org/licenses/by-nc-nd/3.0/">some rights reserved</a></p></div></div>
    </div>
    <%= render :partial => 'shared/analytics' %>
  </body>
</html>
